﻿@model Tecnosop.WebUI.Models.InsumoViewModel
@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Insumo/_LayoutInsumo.cshtml";
}
<fieldset>
    <legend>¿Está seguro que quiere eliminar este insumo?</legend>

    <div class="display-label">@Html.LabelFor(model => model.TIPO)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TIPO)
    </div>

    @*<div class="display-label">>@Html.LabelFor(model => model.UNIDAD)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UNIDAD)
    </div>*@

    <div class="display-label">>@Html.LabelFor(model => model.PRECIO)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PRECIO)
    </div>

    <div class="display-label">>@Html.LabelFor(model => model.MARCA)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MARCA)
    </div>

    <div class="display-label">>@Html.LabelFor(model => model.MODELO)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MODELO)
    </div>

    <div class="display-label">>@Html.LabelFor(model => model.BLANCO_Y_NEGRO)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BLANCO_Y_NEGRO)
    </div>

    <br />
    <hr />
    @using (Html.BeginForm()) {
        <p>
            <button type="submit" class="nice radius small red button">Eliminar</button>
            @Html.ActionLink("Cancelar", MVC.Insumo.Index(), new { @class = "nice radius small blue button" })
            @*<button type="button" class="nice radius small blue button" onclick="history.back()">Cancelar</button>*@
        </p>
    }
</fieldset>
